import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入自己配置的axios
import http from './axios'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

Vue.config.productionTip = false
// 放在Vue原型链上  可以全局使用
Vue.prototype.http = http;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app') 